import axios from "axios";
axios.defaults.baseURL="http://www.zhaijizhe.cn:3001"
export default{
    getShopcartList:()=>axios.get('/shopcart/getShopcartData'),
    changeNum:data=>axios.post('/shopcart/changeNum',data),
    changeNumByInput:data=>axios.post('/shopcart/changeNumByInput',data),
    changeCheckStatus:(_id)=>axios.get('/shopcart/checkProducts',{params:{_id}})
}